package com.egg.auth.entity.dept;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.egg.common.core.model.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 部门用户表
 * </p>
 *
 * @author east
 * @since 2022-03-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "auth_dept_link_user")
@ApiModel(value = "DeptLinkUser对象", description = "部门关联用户表")
public class DeptLinkUser extends BaseEntity {


    @ApiModelProperty(value = "部门ID")
    @TableField(value = "dept_id")
    private Long deptId;

    @ApiModelProperty(value = "用户ID")
    @TableField(value = "user_id")
    private Long userId;


}
